package com.itcast.java.common.base;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 写点什么？
 *
 * @author hrz
 * @since 2020/9/17 0017
 */
@AllArgsConstructor
@Getter
public enum RCode {

    OK(0, "success"),

    FAIL(-1, "fail"),

    EXCEPTION(500, "未知异常，请联系管理员");

    private final Integer code;

    private final String message;



}
